package com.liang.jiekou.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liang.jiekou.entity.PURMA;
import com.liang.jiekou.mapper.PURMAMapper;
import com.liang.jiekou.service.PURMAService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LiangPanDeng
 * @Date: 2024/01/17/11:22
 * @Description:    供应商基本信息档 接口实现类
 */
@Service
public class PURMAServiceImpl implements PURMAService {
    @Resource
    private PURMAMapper purmaMapper;

    @Override
    public IPage<Map<String, Object>> page(Page<PURMA> paging) {
        return  purmaMapper.selectAll( paging);
    }
}
